package com.tensquare.qa.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 问题对象 tb_problem
 * 
 * @author hbxfwf
 * @date 2021-08-25
 */
@Data
public class Problem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userid;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long visits;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long thumbup;

    /** 回复数 */
    @Excel(name = "回复数")
    private Long reply;

    /** 是否解决 */
    @Excel(name = "是否解决")
    private String solve;

    /** 回复人昵称 */
    @Excel(name = "回复人昵称")
    private String replyname;

    /** 回复日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replytime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatetime;
}
